//
//  MWCaptureManager.m
//  AV0CSC
//
//  Created by jinbang.li on 2024/3/16.
//

#import "MWCaptureManager.h"
@interface MWCaptureManager()
@property (nonatomic) AVCaptureSession *captureSession;
@end
@implementation MWCaptureManager
- (instancetype)init{
    if (self = [super init]) {
        self.captureSession = [[AVCaptureSession alloc] init];
    }
    return self;
}
- (void)configSessionPreset:(AVCaptureSessionPreset)sessionPreset{
    
}
- (void)configVideoFps:(NSUInteger)fps{
    
}
- (BOOL)configVideoInput:(NSError *__autoreleasing  _Nullable *)error{
    return YES;
}
- (void)removeVideoDeviceInput{
    
}
- (void)configStillImageOutput{
    
}
- (void)removeStillImageOutput{
    
}
- (void)startSessionSync{
    
}
- (void)stopSessionSync{
    
}
- (void)startSessionAsync{
    
}
- (void)stopSessionAsync{
    
}
-(void)dealloc{
    NSLog(@"MWCaptureManager dealloc");
    if (self.captureSession) {
        //销毁捕捉会话相关的类
        self.captureSession = nil;
    }
}
@end
